<?php

use Illuminate\Database\Seeder;
use Carbon\Carbon;

class AdminRolesTableSeeder extends Seeder
{
    private $table = 'admin_roles';

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $init = [
            'name' => '超级管理员',
            'identifier' => 'v001',
            'number' => 100,
            'created_at'=>Carbon::now(),
            'updated_at'=>Carbon::now(),
        ];
        DB::table($this->table)->insert($init);
    }
}
